<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title><{$title}></title>
    <script src="/static/js/sweetalert.min.js"></script>
    <link rel="stylesheet" type="text/css" href="/static/css/sweetalert.css">
</head>
<body>


<script>
    swal({
        title: "<{$title}>",
        text: "<{$content}>",
        type: "error",
        confirmButtonText: "知道了"
    },function () {
        <{if $url!=''}>
            window.location.href='<{$url}>';
        <{else}>
            history.go(-1);
        <{/if}>
        }
    );
</script>

</body>
</html>